package com.k.action;

import java.util.List;

public class TreeNode implements java.io.Serializable{
	public TreeNode(){}
	public TreeNode(int id,String text,boolean leaf,String iconCls,String state,List<TreeNode> children)
	{
		this.id=id;
		this.text=text;
		this.leaf=leaf;
		this.iconCls=iconCls;
		this.state=state;
		this.children=children;
	}
	
	private int id;
	private String text;
    private boolean leaf;
    private String iconCls;
    private String state;
    private List<TreeNode> children;
    public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public List<TreeNode> getChildren() {
		return children;
	}
	public void setChildren(List<TreeNode> children) {
		this.children = children;
	}
}
